package cn.waxcc.controller;

import cn.waxcc.pojo.BsHospitalinfo;
import cn.waxcc.service.BsHospitalinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能说明
 *
 * @author HZ
 * @date 2023-04-06 08:50:52
 */
@RestController
@RequestMapping("/hos")
public class BsHospitalinfoController {
    @Autowired
    private BsHospitalinfoService bsHospitalinfoService;

    @RequestMapping("/all")
    public BsHospitalinfo queryall(){
        BsHospitalinfo queryall = bsHospitalinfoService.queryall();
        return queryall;
    }
}
